//
//  SYMainCollectionViewCell.m
//  TermOfSectionB
//
//  Created by dlios on 15/11/30.
//  Copyright © 2015年 韩震明. All rights reserved.
//

#import "SYMainCollectionViewCell.h"
@implementation SYMainCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        
        // 设置图片视图
        self.mainPictureImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 5, 70, 60)];
        self.mainPictureImageView.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:self.mainPictureImageView];
        
        // 设置图片下的文字
        self.mainLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 65, 80, 20)];
        self.mainLabel.textAlignment = NSTextAlignmentCenter;
        self.mainLabel.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:self.mainLabel];
        
    }
    return self;
}

@end
